<?php
    // [DBM: 0004]
    
	$serverurl = "localhost";
	$adminname = "pws_admin";
	$adminp = "pws_admin_password";
	$dbname = "profwebsitedb0";

	$serverhost = "http://localhost/";
	$rootpath = $serverhost."Quartz/";
	//	$canmail = false; //write a query that looks up the table, if 0 = false, if 1 = true. 
	// connec to DB
	mysql_connect($serverurl, $adminname, $adminp) or die(mysql_error());
	mysql_select_db($dbname) or die(mysql_error());
	$check = mysql_query("SELECT * FROM loginSet WHERE email = '". $adminname. "@bu.edu'")or die(mysql_error());
	$info = mysql_fetch_array( $check );
	
	
	if($info['mailServer'] == 0)
		$canmail = false;
	else
		$canmail = true;

	
	$q = "\"";

	//phpinfo();
	//print("serverhost: [".$serverhost."]<br>");
	//print("rootpath: [".$rootpath."]<br>");

?>